package com.kingyun.gpsinspection.purificationservice.dao.mapper.jsm;


import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.IntDataSrcItemValue;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface IntDataSrcItemValueMapper {

    /**
     * 查询整点数据
     * @param map
     * @return
     */
    HashMap queryPointData(Map map);

    /**
     * 查询单个整点数据
     * @return
     */
    IntDataSrcItemValue queryValue(IntDataSrcItemValue value);

    /**
     * 修改整点数据
     * @param value
     * @return
     */
    int updateValue(IntDataSrcItemValue value);

    /**
     * 插入整点数据
     * @param value
     * @return
     */
    int insertValue(IntDataSrcItemValue value);

    /**
     * 查询完整的apid
     * @param apid
     * @return
     */
    String queryApid(String apid);

    /**
     * @param intDataSrcItemValue
     */
    List<IntDataSrcItemValue> selectIntDataSrcItemList(IntDataSrcItemValue intDataSrcItemValue);

    /**
     *
     * @param intDataSrcItemValue
     * @return
     */
    List<IntDataSrcItemValue> getLastIntDataSrcItemValue(IntDataSrcItemValue intDataSrcItemValue);
}